package com.steel.yfmall.cloud.assistant.api.stock;

import com.steel.yfmall.cloud.components.utils.base.APIMsgBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 框架合同信息 推送 到中冠
 *
 * @author jia chang bao
 * @date 2020/12/21 21:04
 */
@FeignClient(value = "YFMALL-ASSISTANT-SERVICE-PROVIDER")
@Component
public interface ZgFrameworkContractInfoService {

    /**
     * 框架合同数据 推送给中冠，建立合同信息
     *
     * @param object 数据
     * @return 结果
     * @author jia chang bao
     */
    @RequestMapping("/sendZgSo")
    APIMsgBean<String> sendZgSo(Object object);

    /**
     * 变更合同信息
     *
     * @param object 数据
     * @return 结果
     * @author jia chang bao
     */
    @RequestMapping("/sendZgSoChangeContract")
    APIMsgBean<String> sendZgSoChangeContract(Object object);
}
